package rjgc.mall.mapper;

import org.apache.ibatis.annotations.Mapper;
import rjgc.mall.entity.Address;

import java.util.List;

@Mapper
public interface AddressMapper {
    int addAddress(Address position);
    int deleteAddress(Integer id);
    int cancelAll(Integer userid);
    int setOne(Integer id);
    List<Address> showAddressByUserId(Integer userid);
    Address showUserSelectAddress(Integer userid);
}
